package com.autonavi.yunda.yunji.core.vo.node;

import com.autonavi.yunda.yunji.common.exception.AmapPreconditions;
import org.apache.commons.lang3.StringUtils;

/**
 * @author cizhong.wcs
 * @date 2023/2/9 17:03
 */
public class YundaAPINode extends HttpNode {
    public String falconId;

    @Override
    public void customParamCheck() {
        super.customParamCheck();
        AmapPreconditions.checkArgumentForUser(StringUtils.isNoneBlank(componentType), "节点" + name + "[componentType]不能为空");
        AmapPreconditions.checkArgumentForUser(StringUtils.isNoneBlank(componentId), "节点" + name + "[componentId]不能为空");
        AmapPreconditions.checkArgumentForUser(StringUtils.isNoneBlank(falconId), "节点" + name + "[falconId]不能为空");

    }
}
